<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      liboauth-1.0.3
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-2020-04-02">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 2020-04-02
      </h4>
      <h3>
        Chapter&nbsp;4.&nbsp;Security
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="linux-pam.html" title=
          "Linux-PAM-1.3.1">Prev</a>
          <p>
            Linux-PAM-1.3.1
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="libpwquality.html" title=
          "libpwquality-1.4.2">Next</a>
          <p>
            libpwquality-1.4.2
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="security.html" title=
          "Chapter&nbsp;4.&nbsp;Security">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="liboauth" name="liboauth"></a>liboauth-1.0.3
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to liboauth
        </h2>
        <p>
          <span class="application">liboauth</span> is a collection of
          POSIX-C functions implementing the OAuth Core RFC 5849 standard.
          Liboauth provides functions to escape and encode parameters
          according to OAuth specification and offers high-level
          functionality to sign requests or verify OAuth signatures as well
          as perform HTTP requests.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://downloads.sourceforge.net/liboauth/liboauth-1.0.3.tar.gz">
                https://downloads.sourceforge.net/liboauth/liboauth-1.0.3.tar.gz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 689b46c2b3ab1a39735ac33f714c4f7f
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 496 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 3.5 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: less than 0.1 SBU
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Additional Downloads
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Required patch for use with openssl: <a class="ulink" href=
                "http://www.linuxfromscratch.org/patches/blfs/svn/liboauth-1.0.3-openssl-1.1.0-3.patch">
                http://www.linuxfromscratch.org/patches/blfs/svn/liboauth-1.0.3-openssl-1.1.0-3.patch</a>
              </p>
            </li>
          </ul>
        </div>
        <h3>
          liboauth Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="../basicnet/curl.html" title=
          "cURL-7.69.1">cURL-7.69.1</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="nss.html" title="NSS-3.51">NSS-3.51</a> and
          <a class="xref" href="../general/doxygen.html" title=
          "Doxygen-1.8.17">Doxygen-1.8.17</a> (to build documentation)
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/liboauth">http://wiki.linuxfromscratch.org/blfs/wiki/liboauth</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of liboauth
        </h2>
        <p>
          Apply a patch for the current version of openssl:
        </p>
        <pre class="userinput">
<kbd class=
"command">patch -Np1 -i ../liboauth-1.0.3-openssl-1.1.0-3.patch</kbd>
</pre>
        <p>
          Install <span class="application">liboauth</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr --disable-static &amp;&amp;
make</kbd>
</pre>
        <p>
          If you wish to build the documentation (needs <a class="xref" href=
          "../general/doxygen.html" title=
          "Doxygen-1.8.17">Doxygen-1.8.17</a>), issue:
        </p>
        <pre class="userinput">
<kbd class="command">make dox</kbd>
</pre>
        <p>
          To test the results, issue: <span class="command"><strong>make
          check</strong></span>.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
        <p>
          If you have previously built the documentation, install it by
          running the following commands as the <code class=
          "systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class=
"command">install -v -dm755 /usr/share/doc/liboauth-1.0.3 &amp;&amp;
cp -rv doc/html/* /usr/share/doc/liboauth-1.0.3</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <em class="parameter"><code>--disable-static</code></em>: This
          switch prevents installation of static versions of the libraries.
        </p>
        <p>
          <code class="option">--enable-nss</code>: Use this switch if you
          want to use Mozilla NSS instead of <span class=
          "application">OpenSSL</span>.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">None</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">liboauth.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/usr/share/doc/liboauth-1.0.3</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="liboauth-lib" name="liboauth-lib"></a><span class=
                    "term"><code class="filename">liboauth.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    provides functions to escape and encode stings according
                    to OAuth specifications and offers high-level
                    functionality built on top to sign requests or verify
                    signatures using either NSS or OpenSSL for calculating
                    the hash/signatures.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-03-24 14:19:44 -0500
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="linux-pam.html" title=
          "Linux-PAM-1.3.1">Prev</a>
          <p>
            Linux-PAM-1.3.1
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="libpwquality.html" title=
          "libpwquality-1.4.2">Next</a>
          <p>
            libpwquality-1.4.2
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="security.html" title=
          "Chapter&nbsp;4.&nbsp;Security">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
